package com.sdx.console.promote.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import com.fasterxml.jackson.annotation.JsonIgnore;
import org.beetl.sql.core.annotatoin.ColumnIgnore;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;
import org.apache.commons.lang3.StringUtils;
import com.ibeetl.admin.core.util.ValidateConfig;
import com.sdx.service.ConfigService;

import org.beetl.sql.core.TailBean;
import java.math.*;

import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;

import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.Version;
import org.beetl.sql.core.annotatoin.LogicDelete;
import com.sdx.common.utils.Utils;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

/* 
* 
* gen by Spring Boot2 Admin 2019-08-16
*/
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
@Data
public class PromotePerson extends BaseEntity{

    //会员id
    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @AutoID	
    private String customerId ;
	
    //关注公众号
    private String appId ;
	
    //open_id
    private String openId ;
	
    //微信昵称
    private String nickname ;
	
    //微信头像
    private String wxImg ;
	
    //佣金系数
    private Integer commissionCoefficient ;
	
    //加入时间
    private Date createdTime ;
	
    //所属租户
    private Integer tenantId ;
	
    //关联渠道
    private String channelCode ;
	
    //关联推广码
    private String promoteCode ;
	
    //上级会员
    private String hlCustomer ;
	
    //推广人状态 1、正常，0、禁用
    private Integer personStatus ;

    private String phone;

    private String customerName;
	

}
